<script type="text/javascript" src="/Inc/AspBox/jsLib/aes.js"></script>
<script type="text/javascript">
var password = 'aspbox';
var plaintext = 'hello kitty';
var ciphertext = Aes.Ctr.encrypt(plaintext, password, 256); //加密
var origtext = Aes.Ctr.decrypt(ciphertext, password, 256); //还原(解密)

document.writeln(ciphertext+''); //rwKZQPfJL1Cg2FyxMn4jZ2osHA== (注：此值每刷新一次变化一次)
document.writeln(origtext+''); //hello kitty
</script>